package com.zhijian.medical.entity.po;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 校准记录
 *
 * @author Auto Generator
 * @date 2022-01-14 16:01:55
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "校准记录")
public class DeviceAdjustRecord {
    /**
     * id
     */
    @ApiModelProperty(value = "id", hidden = true)
    private Long id;

    /**
     * 校准日期
     */
    @ApiModelProperty("校准日期")
    private String date;

    /**
     * 有效日期
     */
    @ApiModelProperty("有效日期")
    private String effectiveDate;

    /**
     * 校准结果
     */
    @ApiModelProperty("校准结果")
    private String result;

    /**
     * 文件路径
     */
    @ApiModelProperty("文件路径")
    private String filePath;

    /**
     * 校准记录
     */
    @ApiModelProperty("校准记录")
    private String record;

    /**
     * 设备id
     */
    @ApiModelProperty("设备id")
    @NotNull(message = "设备id不能为空")
    private Long deviceId;

    /**
     * 机构id
     */
    @ApiModelProperty("机构id")
    @NotNull(message = "机构id不能为空")
    private Long institutionId;

    /**
     * 校准人
     */
    @ApiModelProperty("校准人")
    private String userName;

    /**
     * create_time
     */
    @ApiModelProperty(value = "create_time", hidden = true)
    private Date createTime;

    /**
     * update_time
     */
    @ApiModelProperty(value = "update_time", hidden = true)
    private Date updateTime;
}